package cn.rulian.demo.hello.bo;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.JoinColumn;
import javax.persistence.ManyToOne;
import javax.persistence.Table;

import cn.rulian.base.common.bo.BaseSetBo;

/**
 * 收款地址-演示
 */
@Entity
@Table(name = "demo_hello_address")
public class Address extends BaseSetBo{
	
	@Column(length = 20)
	private String code; //编号

	@Column(length = 50)
	private String linkman; //联系人

	@Column(length = 50)
	private String tel; //电话
	
	@Column(length = 200)
	private String address; //地址
	
	@Column(length = 200)
	private String remark; //备注

	@ManyToOne
	@JoinColumn(name = "full_id")
	private Full full; //

	public String getCode()
	{
		return code;
	}

	public void setCode(String code)
	{
		this.code = code;
	}

	public String getLinkman()
	{
		return linkman;
	}

	public void setLinkman(String linkman)
	{
		this.linkman = linkman;
	}

	public String getTel()
	{
		return tel;
	}

	public void setTel(String tel)
	{
		this.tel = tel;
	}

	public String getAddress()
	{
		return address;
	}

	public void setAddress(String address)
	{
		this.address = address;
	}

	public String getRemark()
	{
		return remark;
	}

	public void setRemark(String remark)
	{
		this.remark = remark;
	}

	public Full getFull()
	{
		return full;
	}

	public void setFull(Full full)
	{
		this.full = full;
	}

}
